package com.lei.msmservice;

import org.springframework.security.crypto.bcrypt.BCrypt;

/**
 * Created by IntelliJ
 * Author:熊磊
 */
public class Bc {
    public static void main(String[] args) {
        //System.out.println(BCrypt.hashpw("123456", BCrypt.gensalt()));
        System.out.println(BCrypt.checkpw("123456", "$2a$10$GQucUcOv43eQIX9N6i.PwOmx60ryrmnoSvRbYbzK78EpvM9bTsqNG"));
    }
}
